<template>
  <div class="myApp">
    <van-button @click="logOutFn">退出登录</van-button>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    // 退出登录 ==>  账号密码登录
    logOutFn() {
      this.$router.push('/login');
    },
  },
};
</script>
<style lang="scss" scoped>
.myApp {
  margin-top: 60px;
  padding: 30px 20px;
  .van-button {
    width: 100px;
    height: 30px;
    background: #efefef;
    border: 1px solid #989898;
    color: #000;
  }
}
</style>
